<template>
    <p class="description">
        今日情况:2024-6-13</p>
    <div class="video-player">
      <video width="250" controls>
        <source :src="videoSrc" type="video/mp4">
        不支持
      </video>
    </div>
  </template>
  
  <script>
  export default {
    name: 'VideoPlayer',
    props: {
      videoSrc: {
        type: String,
        required: true
      }
    }
  }
  </script>
  
  <style scoped>
  .video-player {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
  }
  </style>
